<?php include_once 'header-inc.php'; ?>

<div class="main_w cbg">
    <table class="body_w noborder" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td class="atop left_w">
                <div class="nbox">
                    <div class="title">公司<span>新闻</span></div>
                    <div class="note">
                        <ul class="nav-list">
                        <?php $this->load_module( 'catelist', 'news', array('pid'=>(int)$_GET['classid'], 'ctl'=>'news') ); ?>
                        </ul>
                    </div>
                </div>
            </td>
            <td class="atop right_w">
                <div class="nbox ml">
                    <div class="postion">&middot; 首页 &gt; 公司新闻 &gt; <?php echo $data['cate']; ?></div>
                    <div class="note">
                        <ul class="newslist">
                        <?php if($data['rows']): ?>
                        <?php foreach($data['rows'] as $row): ?>
                            <li><span><?php echo date('Y/m/d', $row['created']); ?></span><a href="<?php echo url('news', 'view', array('newsid'=>$row['id'])); ?>">&middot; <?php echo $row['title']; ?></a></li>
                        <?php endforeach; ?>
                        <?php endif; ?>
                        </ul>
                    </div>
                    <?php $this->load_module( 'pagenav', 'pagenav', array('controller'=>$_GET[FLEA::getAppInf( 'controllerAccessor' )], 'action'=>$_GET[FLEA::getAppInf( 'actionAccessor' )], 'classid' => $_GET['classid'], 'pager'=>$data['pager'], 'prevLabel'=>'上一页', 'nextLabel'=>'下一页') ); ?>
                </div>
            </td>
        </tr>
    </table>
    <div class="sfbg"></div>
</div>
<?php include_once 'footer-inc.php'; ?>
